package stream;

class Dish{
    String name;
    int calories;

    public Dish(String name,  int calories) {
        super();
        this.name = name;
        this.calories = calories;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public int getCalories() {
        return calories;
    }

    public void setCalories(int calories) {
        this.calories = calories;
    }

    @Override
    public String toString() {
        return "Dish [name=" + name + ", calories=" + calories + "]";
    }

}
